home *** CD-ROM | disk | FTP | other *** search
/ Whiteline: Alpha / Whiteline Alpha.iso / linux / atari / source / source.lzh / atari-linux-0.01pl3 / ipc / Makefile < prev    next >
Encoding:
Makefile  |  1994-06-05  |  670 b   |  36 lines

  1. #
  2. # Makefile for the linux ipc.
  3. #
  4. # Note! Dependencies are done automagically by 'make dep', which also
  5. # removes any old dependencies. DON'T put your own dependencies here
  6. # unless it's something special (ie not a .c file).
  7. #
  8. # Note 2! The CFLAGS definition is now in the main makefile...
  9.  
  10. # Include the configuration variables
  11. #
  12. include ../.config
  13.  
  14. # Include the make variables
  15. #
  16. include ../MakeVars
  17.  
  18. OBJS    =  util.o
  19.  
  20. ifdef CONFIG_SYSVIPC
  21. OBJS    := $(OBJS) msg.o sem.o shm.o
  22. endif
  23.  
  24. ipc.o: $(OBJS)
  25.     $(LD) -r -o ipc.o $(OBJS)
  26.  
  27. dep:
  28.     $(CPP) -M $(INCFLAGS) *.c > .depend
  29.  
  30. #
  31. # include a dependency file if one exists
  32. #
  33. ifeq (.depend,$(wildcard .depend))
  34. include .depend
  35. endif
  36.